package com.lanou3g.k12.service;

import com.github.pagehelper.Page;
import com.lanou3g.k12.entity.Chapter;

import java.util.List;

public interface ChapterService {
    List<Chapter> search(String searchText);

    List<Chapter> findAll(Long cid);

    void delete(Long[] ids);

    void insert(Chapter chapter);

    void update(Long id, Chapter chapter);

    void deleteById(Long id);
}
